home *** CD-ROM | disk | FTP | other *** search
- Displays a directory structure graphically.
-
- TREE path [/A[[:]attributes]] [/B] [/C=creator] [/L] [/O[[:]order]]
- [/P] [/S] [/T=file-type] [/W]
-
- TREE accepts all the switches defined for DIR, but some of them have no
- effect.
-
- path is the root of the tree. It defaults to the current directory.
- /F displays the filenames in each directory.
- /A lists items with specified attributes (a minus sign as a
- prefix means 'not'):
- D Directories
- F Files
- H Hidden files
- X Aliases
- Note that /A:-F overrides /F. Therefore, "TREE /A-F/F" will NOT
- display files.
- /B no effect.
- /C=creator only lists files of the given creator.
- /L uses lowercase when filtering entries on the basis of wildcards.
- /O sorts the list with the following ordering options (a minus
- sign as a prefix reverses the order):
- D by Date & time of update (older first)
- G Group directories first
- N by Name (alphabetic)
- S by Size (smallest first)
- /P pauses after each screenful of listing.
- /S recursive display of all subdirectories of a given directory.
- /T=file-type only lists files of the given file type.
- /W no effect.
-
- Switches may be preset in the DIRCMD environment variable. When preset,
- a switch can be overriden by prefixing it in TREE with a minus sign.
-